package com.example.petstoreservice.mapper;

import com.example.petstoreservice.entity.Address;
import com.example.petstoreservice.entity.Supplier;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AddressMapper {
    int insert(Address address);
    List<Address> getByUserName(String userName);
    Address getById(Long id);
    int delete(Long id);
    int update(Address address);
}
